<template>
  <div class="giftlist">
      <Giftitem v-for="(v,i) in itemdata" :key="i" :giftimage="v.imgfirst" :shoptitle="v.title" :collectnum="v.oriprice" :goodnum="v.oriprice" :id="v.flowerId"/>
  </div>
</template>

<script>
import Giftitem from "./giftitem.vue"
export default {
    components:{
        Giftitem
    },
    props:["itemdata"],
}
</script>

<style scoped>
.giftlist{
    width: 90%;
    height: 2rem;
    margin: auto;
    text-align: center;
}
</style>